﻿using Microsoft.Xna.Framework;

namespace Ratatoskr.Toolbox
{
    class SpriteTransform : Component
    {
        protected Matrix _matrix;
        public Matrix Matrix
        {
            get { return _matrix; }
            set { _matrix = value; }
        }

        protected Color _color;
        public Color Color
        {
            get { return _color; }
            set { _color = value; }
        }

        public SpriteTransform(Matrix matrix, Color color)
            : base("SpriteTransform")
        {
            _matrix = matrix;
            _color = color;
        }

        public SpriteTransform(ParentEntity parent = null)
            : this(Matrix.Identity, Color.White)
        {
        }
    }
}
